﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MainFrm.Master" AutoEventWireup="true" CodeBehind="CargoHandling.aspx.cs" Inherits="Ewts.Storage.CargoHandling" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link href="/css/tab2.css" rel="Stylesheet" type="text/css" />
<link href="/css/tab4.css" rel="Stylesheet" type="text/css" />
    <style type="text/css">
        td
        {
            height: 26px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="EwtsConext" runat="server">
    <div class="tab2">
<h1>原料理货</h1>
    <table border="0" cellpadding="0" cellspacing="0" class="three2">
        <tr>
            <td width="100" align="right">LoadNum：</td>
            <td><asp:TextBox ID="txtLoadNum" CssClass="input" runat="server" /></td>
            <td><asp:Button ID="btnAcquire" CssClass="button1" runat="server" Text="查询"
                    onclick="btnAcquire_Click" /></td>
        </tr>
    </table>
</div>
<br />
<div class="tab1">
<h2>临时库</h2>
    <asp:Repeater ID="reptCargo1" runat="server">
        <HeaderTemplate>
            <table id="tbCargo1" cellpadding="0" cellspacing="0" border="1" style="width:100%;">
                <thead>
                    <tr>
                        <th>LoadNum</th>
                        <th>条码号</th>
                        <th>物品编码</th>
                        <th>物品名称</th>
                        <th>毛重</th>
                        <th>净重</th>
                        <th>数量</th>
                        <th>备注</th>
                    </tr>
                </thead>
                <tbody>
        </HeaderTemplate>
        <ItemTemplate>
                    <tr>
                        <td><%# txtLoadNum.Text %></td>
                        <td><%# Eval("barcodevalue")%></td>
                        <td><%# Eval("goodscode")%></td>
                        <td><%# Eval("goodsname")%></td>
                        <td><%# Eval("gwt")%></td>
                        <td><%# Eval("nwt")%></td>
                        <td><%# Eval("qty")%></td>
                        <td><%# Eval("remark")%></td>
                    </tr>
        </ItemTemplate>
        <FooterTemplate>
                </tbody>
            </table>
        </FooterTemplate>
    </asp:Repeater>



<div style="height: 50px;"></div>
<h2>分类入库</h2>
    <asp:Repeater ID="reptCargo2" runat="server">
        <HeaderTemplate>
            <table id="tbCargo2" cellpadding="0" cellspacing="0" border="1" style="width:100%;">
                <thead>
                    <tr>
                        <th>LoadNum</th>
                        <th>条码号</th>
                        <th>物品编码</th>
                        <th>物品名称</th>
                        <th>毛重</th>
                        <th>净重</th>
                        <th>数量</th>
                        <th>备注</th>
                    </tr>
                </thead>
                <tbody>
        </HeaderTemplate>
        <ItemTemplate>
                    <tr>
                        <td><%# txtLoadNum.Text %></td>
                        <td><%# Eval("barcodevalue")%></td>
                        <td><%# Eval("goodscode")%></td>
                        <td><%# Eval("goodsname")%></td>
                        <td><%# Eval("gwt")%></td>
                        <td><%# Eval("nwt")%></td>
                        <td><%# Eval("qty")%></td>
                        <td><%# Eval("remark")%></td>
                    </tr>
        </ItemTemplate>
        <FooterTemplate>
                </tbody>
            </table>
        </FooterTemplate>
    </asp:Repeater>
</div>


    <div class="tab1">
	<h1>分类汇总</h1>
    <!--一个表单-->
        <table border="1" cellpadding="0" id="tabF" cellspacing="0">
        

         <tr>            
            <th scope="col">序号</th>
            <th scope="col">物品编码</th>
            <th scope="col">物品名称</th>
            
            <th scope="col">毛重</th>
      
            <th scope="col">净重</th>
            
            <th scope="col">数量</th>
            <th scope="col">废物编码</th>
            <th scope="col">废物类型</th>
            <th scope="col">联单号</th>
            <th scope="col">备注</th>
         
            
        </tr>
        <tr>
            <td></td>
            <td>
                <input type="text" name="textfield" id="txtungc" style="width:50px;" />
            </td>
            <td>
                <input type="text" name="textfield" id="txtunga" style="width:100px;" />&nbsp;&nbsp;&nbsp;
            </td>
            <td style="width:35px;">
                 <input type="text" name="textfield" id="txtungwt" style="width:40px" />
              
            </td>
            <td>
                <input type="text" name="textfield" id="txtunnwt" style="width:40px" />
            </td>
            <td>
                <input type="text" name="textfield" id="txtunqty" style="width:40px" />
            </td>
            <td>
                <input type="text" name="textfield" id="txtunhw" style="width:40px" />
            </td>
            <td>
                 <label id="lblunHwType"></label>
            </td>
            <td style="width:40px">
                <input type="text" name="textfield" id="tdunldno" style="width:30px" />
                
            </td>
            <td>
                <input type="text" id="tdunmemo" />
              
            </td>
 
            <td>
                <input type="button" id="btnunprocessadd" value="插入"/>
            </td>
        </tr>
      
       
    </table>
    <div >
    		&nbsp;&nbsp;&nbsp;
    		</div>
    <div class="align"></div>
</div>


<div class="tab1">
	<h1>入库</h1>
    <!--一个表单-->
        <input type="hidden" id="hidLoadID" value="0" class="hiddenloadid" runat="server" />
        <input type="hidden" id="hidCJOID" value="0" class="hiddencjoid" runat="server" />
        <input type="hidden" id="hidInStoID" value="0" class="hiddenInSid" runat="server" />
        <input type="hidden" id="hidoutparID" value="0" class="hiddenParSid" runat="server" />
        <input type="hidden" id="HiddenOper" value="0" class="hiddenOper"  runat="server" />
        <input type="hidden" id="HidStatus" value="0"   class="HidStatus" runat="server" />
        <input type="hidden" id="HidPostion" value="0" class="HidPostion"/>
         <input type="hidden" id="HidVLoad" value="0" class="HidVLoad" runat="server"/>
         
        <table border="1" cellpadding="0" id="tab" cellspacing="0">
        

         <tr>            
            <th scope="col">序号</th>
            <th scope="col">物品编码</th>
            <th scope="col">物品名称</th>
            
            <th scope="col">毛重</th>
            <th scope="col">皮重1</th>
            <th scope="col">皮重2</th>
            <th scope="col">净重</th>
            <th scope="col">箱数</th>
            <th scope="col">数量</th>
            <th scope="col">废物编码</th>
            <th scope="col">废物类型</th>
            <th scope="col">归类</th>
            <th scope="col">箱号</th>
            <th scope="col">库位</th>
            <th scope="col">入库时间</th>
             <th scope="col">条形码</th>
             <th scope="col">锁定</th>
            
        </tr>
        <tr>
            <td></td>
            <td>
                <input type="text" name="textfield" id="txtgc" style="width:50px;" />
            </td>
            <td>
                <input type="text" name="textfield" id="txtgn" style="width:100px;" />
            </td>
            <td style="width:35px;">
                 <input type="text" name="textfield" id="txtgwt" style="width:40px" />
                <label id="dropt" style="width:35px; display:none;"></label>
            </td>
            <td>
                <input type="text" name="textfield" id="txttare1" style="width:40px" />
            </td>
            <td>
               <input type="text" name="textfield" id="txttare2" style="width:40px" />
            </td>
            <td>
               <label id="txtnwt"></label> 
            </td>
            <td>
                <input type="text" name="textfield" id="txtBoxCount" style="width:40px" />
            </td>
            <td style="width:40px">
                <input type="text" name="textfield" id="txtqty" style="width:30px" />
                
            </td>
            <td>
                <input type="text" id="txthw" />
                
            </td>
            <td>
                <label id="lblHwType"></label> 
            </td>
            <td>
                <input type="text" id="txtcomeunder" />
                
                
            </td>
            <td>
                <input type="text" name="textfield" id="txtpn" style="width:40px" />
            </td>
            <td>
                <input type="text" name="textfield" id="txtsid" style="width:40px" />
            </td>
            <td>
                <label id="lblInDate"></label>
            </td>
            <td>
                <label id="lblBarcode"></label>
            </td>
            <td>
                <input type="checkbox" id="chkIsLock" />
            </td>
            <td>
                <input type="button" id="btnSaveBarcode" value="插入"/>
            </td>
        </tr>
      
       
    </table>
    <div >
    		<asp:Button ID="btnSave" runat="server" Text="提交" onclick="btnSave_Click" />&nbsp;&nbsp;&nbsp;
    		<asp:Button ID="btnCanel" runat="server" Text="取消"/>
    </div>
    <div class="align"></div>
</div>
</asp:Content>
